package com.kws.system.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.beans.factory.annotation.Value;

/**
 * <b>QueryReviewManagementRq</b>
 *
 * @description: QueryReviewManagementRq <br>
 * @date: 2024/11/19 09:19 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryReviewManagementRq {
    @ApiModelProperty(value = "查询页数")
    private Integer pageNum;

    @ApiModelProperty(value = "查询条数")
    private Integer pageSize;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "评价星级")
    private String score;

    @ApiModelProperty(value = "开始时间")
    private String startDate;

    @ApiModelProperty(value = "结束时间")
    private String endDate;

    @ApiModelProperty(value = "主键ID")
    private Long id;

    public Integer getPageNum() {
        if (pageNum != null){
            return pageNum;
        }else {
            return 1;
        }
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        if (null != pageSize){
            return pageSize;
        }else {
            return 10;
        }
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
